function _defineProperty(t,e,i){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:e+""}function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}void 0===SK.Util&&(SK.Util={}),SK.Util.isClient=function(){return SK.Singletons&&SK.Singletons.env&&SK.Singletons.env.get("client")},SK.Util.isES6Class=function(t){return"function"==typeof t&&/^class\s?/.test(Function.prototype.toString.call(t))},SK.Util.getType=function(t){switch(!0){case null===t:return"null";case NaN===t:return"NaN";case t instanceof Date:return"date";case SK.Util.isClient()&&t instanceof HTMLElement:return"element";case Array.isArray(t):return"array";default:return typeof t}},SK.Util.deepAssign=function(t,e){var i=SK.Util.getType(t);if("object"!=i&&"array"!=i)return t;for(var n="array"==i,a=1,s=arguments.length;a{SK.Util.compare(this.state,i)||SK.React.Component.Application.GlobalData.setAppData(this.props.app_id,this.state,SK.Singletons.env.get("is_app_settings")&&this.isPropertiesSaveAllowed()),e(...t)})}isPropertiesSaveAllowed(){return this.is_properties_save_allowed}allowPropertiesSave(t){this.is_properties_save_allowed=t}shouldComponentUpdate(t,e){return!0}render(){return React.createElement("div",null)}componentDidUpdate(t,e){}componentDidMount(){}componentWillUnmount(){}},SK.React.Component.Application=SK.React.Component.Application||{},SK.React.Component.Application.Display=class extends SK.React.Component.Display{constructor(t){super(t),this.state.__settings=SK.React.Component.Application.GlobalData.getAppData(this.props.app_id)||t.settings||{},SK.React.Component.Application.GlobalData.initAppData(this.props.app_id,t,t.settings),this.updateSettings=this.updateSettings.bind(this),SK.React.Component.Application.GlobalData.addChangeListener(this.updateSettings)}updateSettings(t){t==this.props.app_id&&(this.getBaseSetState?this.getBaseSetState():this.setState.bind(this))({__settings:SK.React.Component.Application.GlobalData.getAppData(this.props.app_id)})}updateStateValues(t,e){return e.__settings&&(e.__settings=SK.Util.deepAssign({},t.__settings,e.__settings)),e}executeObjectSet(t,e){super.executeObjectSet(t,e),e.__settings&&SK.React.Component.Application.GlobalData.setAppData(this.props.app_id,t.__settings,this.edit_mode&&this.isPropertiesSaveAllowed())}},SK.React.Component.Application=SK.React.Component.Application||{},SK.React.Component.Application.Header=SK.React.Component.Application.Footer=class extends SK.React.Component.Application.Settings{};